package com.twl.app.base.entity;

import java.io.Serializable;
import java.math.BigDecimal; 
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

import com.twl.common.entity.Customer;

/**
 * 税后饭贴
 * 
 * @author uatzhangxc
 * 
 */
@SuppressWarnings("serial")
@Entity
@org.hibernate.annotations.Entity(dynamicInsert = true, dynamicUpdate = true)
@Table(name = "Dutyback")
@SequenceGenerator(name = "instance_sequence", sequenceName = "seq_dutyback_id", allocationSize = 1)
public class Dutyback extends Customer implements Serializable {

	private BigDecimal foreheaddou;//每月定额'
	private Double indutyint;//月在职天数';
	private Double leavebint;//本月请假天数';
	private Integer judgeint;//0表示正式员工1表示入职2表示离职'
	private String amountdou;	//税后饭贴(计算)
	private String datemoney;	//期间
	private String desKey;// 密钥
	@Column(name = "Des_Key" )
	public String getDesKey() {
		return desKey;
	}

	public void setDesKey(String desKey) {
		this.desKey = desKey;
	}
	public Dutyback(BigDecimal foreheaddou, Double indutyint, Double leavebint,
			Integer judgeint, String amountdou, String datemoney) {
		super();
		this.foreheaddou = foreheaddou;
		this.indutyint = indutyint;
		this.leavebint = leavebint;
		this.judgeint = judgeint;
		this.amountdou = amountdou;
		this.datemoney = datemoney;
	}

	public Dutyback() {
		super();
	}

	@Column(name = "foreheaddou")
	public BigDecimal getForeheaddou() {
		return foreheaddou;
	}

	public void setForeheaddou(BigDecimal foreheaddou) {
		this.foreheaddou = foreheaddou;
	}

	@Column(name = "indutyint")
	public Double getIndutyint() {
		return indutyint;
	}

	public void setIndutyint(Double indutyint) {
		this.indutyint = indutyint;
	}

	@Column(name = "leavebint")
	public Double getLeavebint() {
		return leavebint;
	}

	public void setLeavebint(Double leavebint) {
		this.leavebint = leavebint;
	}

	@Column(name = "judgeint")
	public Integer getJudgeint() {
		return judgeint;
	}

	public void setJudgeint(Integer judgeint) {
		this.judgeint = judgeint;
	}

	@Column(name = "amountdou")
	public String getAmountdou() {
		return amountdou;
	}

	public void setAmountdou(String amountdou) {
		this.amountdou = amountdou;
	}

	@Column(name = "datemoney")
	public String getDatemoney() {
		return datemoney;
	}

	public void setDatemoney(String datemoney) {
		this.datemoney = datemoney;
	}

}
